Access an external SSH server through a restrictive proxy [on hold]

Posted by Cyrille on Server Fault See other posts from Server Fault or by Cyrille
Published on 2013-06-28T08:59:15Z Indexed on 2013/06/28 10:23 UTC
Read the original article Hit count: 206

Filed under:
|
|
|

I'm a software developer. I wish to access my computer at home through SSH. For example, I sometime need to access my personal projects source code to check how I handled specific problems. Unfortunately, I currently work under an over-restrictive and anti-productive proxy that waste a hell of a lot of everyone's time (We often have to visit websites from our smartphones or use a web proxy to check very legitimates websites for answers, and don't get me started on other "security" overkill features we have to cope with...).

Well, back to the subject, I can access my home computer from my phone (SSH, port 22 and 80 both redirected by router on port 22). It works, but it's quite uncomfortable.

From my office computer, this is what I tried so far:

export http_proxy=http://user:pass@proxyip:8080

echo "user:pass" > ~/.corkscrew-auth
echo "ProxyCommand corkscrew proxyip 8080 %h %p /home/me/.corkscrew-auth" > ~/.ssh/config

ssh 82.23.34.56 -l me -p 80
Proxy could not open connnection to 82.23.34.56:  Forbidden
ssh_exchange_identification: Connection closed by remote host

(same without -p 80)

Without corkscrew:

ssh: connect to host 82.23.34.56 port 80: Connection timed out
ssh: connect to host 82.23.34.56 port 22: Connection timed out

Any other idea ?

© Server Fault or respective owner

Related posts about ssh

Related posts about firewall